class smx_redis {
  require smx_os

  package { 'redis-server':
    name   => "redis",
    ensure => installed,
  }

  service { 'redis':
    enable  => true,
    ensure  => running,
    require => Package['redis-server'],
  }
}
